﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Imagiality.MeshProcessing;

namespace Imagiality.MeshProcessing.Test
{
    public class RootSceneObjectStub : RootSceneObject
    {
        private IList<NodeSceneObject> children;

        public RootSceneObjectStub()
        {
            children = new List<NodeSceneObject>();
        }

        public void AddChild(NodeSceneObject obj)
        {
            children.Add(obj);
        }

        public override IList<NodeSceneObject> GetChilds()
        {
            return children;
        }
    }
}
